package org.yuanqiframework.yuanqi.core.utils.dict;

import java.lang.annotation.*;

@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface DictField {
    String value() default "";

    String group() default "";

    String key() default "";

    String label() default "";

    /**
     * 自动从字段获取group和label
     *
     * @return
     */
    boolean autoGroupAndLabelFromField() default false;
}
